
<main class="content bottom">

	<section class="oddnumbers">
    	<em>订单编号：{{orderinfo.orderno}}</em>
    	<i>{{orderinfo.showuserstatus}}</i>
    </section>
    
    <!-- 添加地址 -->
	<section class="address add">
        <i class="icon">&#xe617;</i>
        <a href="javascript:">
    	<span class="title">
        	<em>收货人：{{address.userName}}</em>
        	<em>{{address.telNumber}}</em>
        </span>
        <p>收货地址：{{address.provinceName}}{{address.cityName}}{{address.countryName}}{{address.detailInfo}}</p>
        </a>
    </section>
    
    <!-- 商品列表 -->
    <section class="check object">
        <span class="title">订单明细</span>
        <section class="product_list">
            <section class="product" ng-repeat="item in orderdetail.info">
                <span class="pic"><a href=""><img ng-click="previewImg(item.bannerurl)" ng-src="{{item.bannerurl}}"></a></span>
                <section class="text">
                    <p><a href="#/gooddetail/{{item.goodid}}">{{item.title}}</a></p>
                    <span>颜色分类：{{item.color}}{{item.weight?"【"+item.weight+"】":""}}{{item.material}} {{item.mainstorespec}}{{item.handsize?"【"+item.handsize+"】":""}}{{item.necklace_len?"【"+item.necklace_len+"】":""}}{{item.bracelet_len?"【"+item.bracelet_len+"】":""}}</span>
                </section>
                <section class="price_1">
                    <em>{{item.dealprice|currency:'￥'}}</em>
                    <i>X {{item.buynum}}</i>
                </section>
            </section>
        </section>
        <section class="qr_code">
            <span class="pic"><img ng-click="previewImg(orderinfo.qrcode_url)"  ng-src="{{orderinfo.qrcode_url}}"></span>
        </section>
        <!--<section class="check_main">-->
        	<!--<a href=""><i class="icon">&#xe66c;</i><u>联系客服</u></a>-->
        <!--</section>-->
    </section>
    
    <section class="order_xq">
        <ul>
        	<li><em class="content">商品总额：</em><i class="content">{{orderinfo.totalprice|currency:'￥'}}</i></li>
        	<li><em class="content">运费：</em><i class="content">{{orderinfo.freightprice|currency:'￥'}}</i></li>
            <li><em class="subject">订单总额：</em><i class="subject subject_font">{{(orderinfo.totalprice+orderinfo.freightprice)|currency:'￥'}}</i></li>
        	<li class="result" ng-show="orderinfo.actualpayprice!=null"><em>实付款：</em><i>{{orderinfo.actualpayprice}}</i></li>
        	<li><u class="create_date">下单时间：{{orderinfo.create_time|date:'yyyy-MM-dd HH:mm:ss'}}</u></li>
        </ul>
    </section>
    
    <!-- 物流详情 -->
    <section class="logistics"  ng-if="orderinfo.logisticsno != null&&orderinfo.logisticsno.length!=0">
    	<span class="title">物流详情</span>
        <span  class="title"><a>承运公司：</a><a>{{orderinfo.logisticsCompany}}</a></span>
        <span  class="title"><a>运单编号：</a><a>{{orderinfo.logisticsno}}</a></span>
        <ul>
            <li ng-if="sellerLogistc.length == 0"><i></i><em>暂无物流信息</em></li>
            <li ng-if="sellerLogistc.length != 0"  ng-repeat="item in sellerLogistc | orderBy:'-AcceptTime'" ng-class="{hover:$index==0}" >
                <i></i>
                <em>{{item.AcceptTime}}&nbsp;{{item.AcceptStation}}</em>
            </li>
        </ul>
    </section>
</main>

<section class="button" ng-switch on="orderinfo.shoporderstatusCode">
    <span><a ng-href="#/shoporderlist">订单列表</a></span>
    <span ng-switch-when="001"><a ng-click="weixinPay(orderinfo.orderno,orderinfo.totalprice)">立即支付</a></span>
	<span ng-switch-default><a href="#/main">前往商城&nbsp;<i class="icon" style="color: #fff;">&#xe722;</i></a></span>
</section>